setUserAgent

public final Unit setUserAgent(UserAgent userAgent)

Sets the custom user agent string, which is used to override engine's default user agent.

Setting of this property has the same effect as adding --user-agent switch.